package maitaole.service.impl;

import maitaole.bean.Menu1;
import maitaole.dao.menuDao.MenuDAO;
import maitaole.service.IMenuList;

import java.util.List;

/**
 * @Author 李杰
 * @Description 类的功能描述
 * @Date 2023/5/16
 */
public class MenuListImpl implements IMenuList {

    MenuDAO menuDAO =new MenuDAO();

    @Override
    public List<Menu1> listAllMenus() {
        List<Menu1> menu1s = menuDAO.listAllMenus();
        return menu1s;
    }

}

